<template>
  <div class="content">
    {{props.params.data.text }}
  </div>
</template>
<script lang="ts" setup>
const props = defineProps({
  params: {
    type: Object as () => any, // 修改/删除操作携带的参数 如table_id
    required: true,
  }
})
</script>
<style lang="scss" scoped>
  .content {
    width: 180px;
    word-break: break-all;
    white-space: 3px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 26px;
  }
</style>